<% content_for :title do %>共享详细<%end%>

<%= link_to '编辑', edit_share_path(@share) %> |
<%= link_to '返回', shares_path %>

<%= render :partial=>'detail', :locals=>{:share=>@share} %>